package com.huike.review.service;

import com.huike.review.pojo.Review;
import com.huike.review.vo.MybatisReviewVO;

import java.util.List;

/**
 * mybatis复习接口层
 */
public interface ReviewService {
    Integer addReview(String name,Integer age,String sex,String create_by,String update_user);
    Integer addReview1(Review review);


    Integer removeReview(Long id);
    Integer updateReview(Long id,String name,Integer age,String sex);
    Review selectById(Long id);

    List<Review> selectAll(Integer page,Integer pageSize);
}
